package com.bdqn.zhang.mapper;

import com.bdqn.zhang.pojo.Grade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GradeMapper {

    int count();

    int count2();

    List<Grade> getGradeList();

    List<Grade> getGradeListByGname(String name);

    int addGrade(Grade grade);

    int updateGrade(Grade grade);

    int delGrade(@Param("gId") Integer gId);

}
